/* 好友申请页面样式 */
.requests-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px;
  background: linear-gradient(135deg, #f6f9fc 0%, #eef2f6 100%);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.requests-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.requests-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.header-title {
  margin: 0;
  color: #333;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.request-count {
  display: flex;
  align-items: baseline;
  color: #666;
  font-size: 14px;
}

.count-badge {
  display: inline-block;
  padding: 4px 8px;
  background-color: #1890ff;
  color: white;
  border-radius: 12px;
  font-weight: bold;
  margin-right: 4px;
  font-size: 12px;
}

.count-text {
  color: #666;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f6f7f8 0%, #e0e0e0 100%);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.empty-state:hover {
  transform: translateY(-5px);
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  color: #999;
}

.empty-text {
  color: #666;
  font-size: 18px;
  margin-bottom: 8px;
}

.empty-subtitle {
  color: #999;
  font-size: 14px;
}

.requests-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.request-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.request-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.user-info {
  display: flex;
  align-items: center;
  flex: 1;
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  margin-right: 16px;
  position: relative;
  overflow: hidden;
}

.user-avatar .avatar-text {
  position: relative;
  z-index: 1;
}

.user-avatar .request-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #ff4d4f;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: bold;
  z-index: 2;
}

.user-details {
  flex: 1;
}

.user-name {
  font-weight: bold;
  margin-bottom: 4px;
  color: #333;
  font-size: 16px;
}

.request-message {
  color: #666;
  font-size: 14px;
  margin-bottom: 4px;
  line-height: 1.4;
}

.request-time {
  color: #999;
  font-size: 12px;
}

.request-actions {
  display: flex;
  gap: 8px;
}

.accept-btn,
.reject-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.accept-btn {
  background-color: #52c41a;
  color: white;
}

.accept-btn:hover {
  background-color: #389e0d;
  transform: scale(1.05);
}

.reject-btn {
  background-color: #ff4d4f;
  color: white;
}

.reject-btn:hover {
  background-color: #cf1322;
  transform: scale(1.05);
}

.btn-icon {
  font-size: 18px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .requests-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .request-item {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .request-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .user-avatar {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
} 